package cn.wolfcode.ssm.mapper;

import cn.wolfcode.ssm.domain.ActivityItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActivityItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ActivityItem record);

    ActivityItem selectByPrimaryKey(Long id);

    List<ActivityItem> selectAll();

    int updateByPrimaryKey(ActivityItem record);

    List<ActivityItem> selectBActivityId(Long id);

    void updateNumById(@Param("id") Long id, @Param("num") Integer num);
}